<?php
define("_ROOT",realpath(dirname(__FILE__))."/");
var_dump(pathinfo($_SERVER["SCRIPT_NAME"]));
var_dump(pathinfo($_SERVER["REQUEST_URI"]));